import { visualizer } from 'rollup-plugin-visualizer';
import { PluginOption } from 'vite';
export function setupVisualizer(): PluginOption {
	return visualizer({
		emitFile   : true,
		filename   : 'stats.html',
		open       : true,
		gzipSize   : true,
		brotliSize : true
	});
}